﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Dto
{
  public  class HolidayDto : DtoBase
    {
        public string Name { get; set; }
        public DateTime StartDate { get; set; } = DateTime.Now;
        public string StartDateStr { get {

                return this.StartDate.ToString("yyyy-MM-dd");
            } }
        public DateTime EndDate { get; set; } = DateTime.Now;
        public string EndDateStr { get {

                return this.EndDate.ToString("yyyy-MM-dd");
            } }
        public string Remark { get; set; }
    }
}
